export default{
    // path:'/catfilm/movies',
    path:'/movies/nowplaying',
    component:()=>import('@/views/CatFilm/movies/index'),

     //子路由 嵌套路由
    children:[
        {
            // /films/nowplaying
            path:'/movies/nowplaying',
            component:()=>import('@/views/CatFilm/movies/nowplaying')
        },
        {
            // /films/nowplaying
            path:'/movies/comingsoon',
            component:()=>import('@/views/CatFilm/movies/comingnow')
        },
        {
            
            path:'/movies',
            redirect:'nowplaying'
        },
    ]
}